import { BaseManager } from './BaseManager';
import MailManage from './MailManage';

class MailManager extends BaseManager {
    constructor(){
        super();
        this.dependencies = [];
    }

    // 让管理器名称与UserManager依赖保持一致
    getName(): string {
        return 'MailManage';
    }

    async init(): Promise<void> {
        await MailManage.init();
        this['markAsInitialized']();
    }

    async save(): Promise<void> {
        await MailManage.save();
    }
}

export default new MailManager();


